#include <windows.h>
#include <iostream>
#include "Header.h"

//#pragma comment(lib, "dll_export.lib")
int main(int argc, char* argv[])
{
	
	Make_Figure *myfigure = new Make_Figure();
	/*printf("create new figure? (yes or no)\n");
	char trueOrfalse[4];
	scanf_s("%s", trueOrfalse, 4);
	if (*trueOrfalse == *"yes")
	{
		for (auto iter = input.begin(); iter != input.end(); iter++)
		{
			Figure *x_figure;
			for (auto iter_figure = type_figure.begin(); iter_figure != type_figure.end(); iter_figure++)
			{
				if (*iter_figure == 'T')
				{
					std::list<int> T_x;
					std::list<int> T_y;
					int i = 0;
					for (; i != 3; i++, iter++)
					{
						T_x.push_back(*iter);
						iter++;
						T_y.push_back(*iter);
					}
					x_figure = new triangle(T_x, T_y);
					myfigure->push_back(x_figure);
				}
				if (*iter_figure == 'R')
				{
					list<int> C_x;
					list<int> C_y;
					int i = 0;
					for (; i != 4; i++, iter++)
					{
						C_x.push_back(*iter);
						iter++;
						C_y.push_back(*iter);
					}
					x_figure = new rectangle(C_x, C_y);
					myfigure->push_back(x_figure);
				}
				if (*iter_figure == 'C')
				{
					int x, y, r;
					for (; ; iter++)
					{
						x = *iter;
						iter++;
						y = *iter;
						iter++;
						r = *iter;
						break;
					}
					x_figure = new circle(&x, &y, &r);
					myfigure->push_back(x_figure);
				}
			}
		}
	}*/
    double a = 1;double b = 1;double c = 1;
	printf("Input number figure");
	std::cin >> a;
	printf("Input X");
	std::cin >> b;

	printf("Input Y");
	std::cin >> c;
	myfigure->load_file((string) "figure");
    myfigure->move_figure(a, b, c);
	myfigure->writeFile("write");
	free(myfigure);
}